package com.jame.typeenum;

/**
 * @author : Jame
 * @date : 2021-07-02 10:42
 * 方法的修饰符类型
 **/
public enum AccessModifier {

    Private(2), Public(1), Protected(4), All(666);
    private int code;

    AccessModifier(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
